namespace SmartSoft.Invoices
{
    using SmartSoft;
    using SmartSoft.Controls;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class FormCTNBFilter : FormControl
    {
        private BtnControl btnCancel;
        private BtnControl btnOk;
        private IContainer components;
        private GBoxControl gBoxFilterByUser;
        private GBoxControl gBoxLocked;
        private GBoxControl gBoxPosted;
        private bool ib_CheckAccepted;
        private LabelControl lblDien_Giai;
        private LabelControl lblMa_Bp;
        private LabelControl lblMa_Dt;
        private LabelControl lblMa_Hd;
        private LabelControl lblMa_Kho;
        private LabelControl lblMa_Tte;
        private LabelControl lblMa_Vt;
        private LabelControl lblNgay_Ct1;
        private LabelControl lblNgay_Ct2;
        private LabelControl lblNo_Co;
        private LabelControl lblNotes;
        private LabelControl lblPhan_Loai;
        private LabelControl lblSo_Ct1;
        private LabelControl lblSo_Ct2;
        private LabelControl lblTien1;
        private LabelControl lblTien2;
        private LabelControl lblTk;
        private RdioControl rdioControl10;
        private RdioControl rdioControl2;
        private RdioControl rdioControl3;
        private RdioControl rdioControl4;
        private RdioControl rdioControl5;
        private RdioControl rdioControl6;
        private RdioControl rdioControl7;
        private RdioControl rdioControl8;
        private RdioControl rdioControl9;
        private TextControl txtDien_Giai;
        private TextSearch txtMa_Bp;
        private TextSearch txtMa_Dt;
        private TextSearch txtMa_Hd;
        private TextSearch txtMa_Kho;
        private TextSearch txtMa_Loai1;
        private TextSearch txtMa_Loai2;
        private TextSearch txtMa_Loai3;
        private TextOption txtMa_Tte;
        private TextSearch txtMa_Vt;
        private TextDate txtNgay_Ct1;
        private TextDate txtNgay_Ct2;
        private TextOption txtNo_Co;
        private LabelControl txtNo_Co0;
        private TextControl txtNotes;
        private TextControl txtSo_Ct1;
        private TextControl txtSo_Ct2;
        private TextControl txtTen_Bp;
        private TextControl txtTen_Dt;
        private TextControl txtTen_Hd;
        private TextControl txtTen_Kho;
        private TextControl txtTen_Tk;
        private TextControl txtTen_Vt;
        private TextNumeric txtTien1;
        private TextNumeric txtTien2;
        private TextSearch txtTk;

        public FormCTNBFilter()
        {
            this.InitializeComponent();
            this.txtMa_Tte.InputMask = "*," + AppInstance.Currencies;
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            base.Close();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.OnAccpeted();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            //ComponentResourceManager manager = new ComponentResourceManager(typeof(FormCTNBFilter));
            this.lblNgay_Ct1 = new LabelControl();
            this.txtNgay_Ct1 = new TextDate();
            this.lblNgay_Ct2 = new LabelControl();
            this.txtNgay_Ct2 = new TextDate();
            this.txtSo_Ct1 = new TextControl();
            this.txtSo_Ct2 = new TextControl();
            this.lblSo_Ct1 = new LabelControl();
            this.lblSo_Ct2 = new LabelControl();
            this.txtTen_Tk = new TextControl();
            this.txtTk = new TextSearch();
            this.lblTk = new LabelControl();
            this.lblNo_Co = new LabelControl();
            this.gBoxFilterByUser = new GBoxControl();
            this.rdioControl3 = new RdioControl();
            this.rdioControl2 = new RdioControl();
            this.txtTien1 = new TextNumeric();
            this.lblTien1 = new LabelControl();
            this.txtTien2 = new TextNumeric();
            this.lblTien2 = new LabelControl();
            this.txtNo_Co = new TextOption();
            this.txtNo_Co0 = new LabelControl();
            this.gBoxLocked = new GBoxControl();
            this.rdioControl4 = new RdioControl();
            this.rdioControl5 = new RdioControl();
            this.rdioControl6 = new RdioControl();
            this.gBoxPosted = new GBoxControl();
            this.rdioControl10 = new RdioControl();
            this.rdioControl7 = new RdioControl();
            this.rdioControl8 = new RdioControl();
            this.rdioControl9 = new RdioControl();
            this.lblMa_Tte = new LabelControl();
            this.txtMa_Tte = new TextOption();
            this.lblMa_Kho = new LabelControl();
            this.txtMa_Kho = new TextSearch();
            this.txtTen_Kho = new TextControl();
            this.lblMa_Bp = new LabelControl();
            this.txtMa_Bp = new TextSearch();
            this.txtTen_Bp = new TextControl();
            this.lblMa_Hd = new LabelControl();
            this.txtMa_Hd = new TextSearch();
            this.txtTen_Hd = new TextControl();
            this.lblMa_Dt = new LabelControl();
            this.txtMa_Dt = new TextSearch();
            this.txtTen_Dt = new TextControl();
            this.lblMa_Vt = new LabelControl();
            this.txtMa_Vt = new TextSearch();
            this.txtTen_Vt = new TextControl();
            this.lblDien_Giai = new LabelControl();
            this.txtDien_Giai = new TextControl();
            this.lblNotes = new LabelControl();
            this.txtNotes = new TextControl();
            this.lblPhan_Loai = new LabelControl();
            this.txtMa_Loai1 = new TextSearch();
            this.txtMa_Loai2 = new TextSearch();
            this.txtMa_Loai3 = new TextSearch();
            this.btnOk = new BtnControl();
            this.btnCancel = new BtnControl();
            this.gBoxFilterByUser.SuspendLayout();
            this.gBoxLocked.SuspendLayout();
            this.gBoxPosted.SuspendLayout();
            base.SuspendLayout();
            this.lblNgay_Ct1.AutoSize = true;
            this.lblNgay_Ct1.Font = new Font("Arial", 8.25f);
            this.lblNgay_Ct1.Location = new Point(12, 15);
            this.lblNgay_Ct1.Name = "lblNgay_Ct1";
            this.lblNgay_Ct1.Size = new Size(0x2f, 14);
            this.lblNgay_Ct1.TabIndex = 0;
            this.lblNgay_Ct1.Text = "Từ ngày";
            this.txtNgay_Ct1.Font = new Font("Arial", 8.25f);
            this.txtNgay_Ct1.Location = new Point(0x6c, 12);
            this.txtNgay_Ct1.Name = "txtNgay_Ct1";
            this.txtNgay_Ct1.OldValue = null;
            this.txtNgay_Ct1.Size = new Size(100, 20);
            this.txtNgay_Ct1.TabIndex = 0;
            this.lblNgay_Ct2.AutoSize = true;
            this.lblNgay_Ct2.Font = new Font("Arial", 8.25f);
            this.lblNgay_Ct2.Location = new Point(0x100, 15);
            this.lblNgay_Ct2.Name = "lblNgay_Ct2";
            this.lblNgay_Ct2.Size = new Size(0x36, 14);
            this.lblNgay_Ct2.TabIndex = 0;
            this.lblNgay_Ct2.Text = "Đến ngày";
            this.txtNgay_Ct2.Font = new Font("Arial", 8.25f);
            this.txtNgay_Ct2.Location = new Point(0x13c, 12);
            this.txtNgay_Ct2.Name = "txtNgay_Ct2";
            this.txtNgay_Ct2.OldValue = null;
            this.txtNgay_Ct2.Size = new Size(100, 20);
            this.txtNgay_Ct2.TabIndex = 1;
            this.txtSo_Ct1.CheckTextSearched = false;
            this.txtSo_Ct1.DisabledForeColor = Color.Blue;
            this.txtSo_Ct1.Font = new Font("Arial", 8.25f);
            this.txtSo_Ct1.Location = new Point(0x6c, 0x21);
            this.txtSo_Ct1.MaxLength = 20;
            this.txtSo_Ct1.Name = "txtSo_Ct1";
            this.txtSo_Ct1.OldValue = null;
            this.txtSo_Ct1.Size = new Size(100, 20);
            this.txtSo_Ct1.TabIndex = 2;
            this.txtSo_Ct1.UserTextLength = AppInstance.TextControlLength.InvoiceNumber;
//            this.txtSo_Ct1.Value = null;//manager.GetObject("txtSo_Ct1.Value");
            this.txtSo_Ct2.CheckTextSearched = false;
            this.txtSo_Ct2.DisabledForeColor = Color.Blue;
            this.txtSo_Ct2.Font = new Font("Arial", 8.25f);
            this.txtSo_Ct2.Location = new Point(0x13c, 0x21);
            this.txtSo_Ct2.MaxLength = 20;
            this.txtSo_Ct2.Name = "txtSo_Ct2";
            this.txtSo_Ct2.OldValue = null;
            this.txtSo_Ct2.Size = new Size(100, 20);
            this.txtSo_Ct2.TabIndex = 3;
            this.txtSo_Ct2.UserTextLength = AppInstance.TextControlLength.InvoiceNumber;
//            this.txtSo_Ct2.Value = null;//manager.GetObject("txtSo_Ct2.Value");
            this.lblSo_Ct1.AutoSize = true;
            this.lblSo_Ct1.Font = new Font("Arial", 8.25f);
            this.lblSo_Ct1.Location = new Point(12, 0x24);
            this.lblSo_Ct1.Name = "lblSo_Ct1";
            this.lblSo_Ct1.Size = new Size(80, 14);
            this.lblSo_Ct1.TabIndex = 0;
            this.lblSo_Ct1.Text = "Chứng từ từ số";
            this.lblSo_Ct2.AutoSize = true;
            this.lblSo_Ct2.Font = new Font("Arial", 8.25f);
            this.lblSo_Ct2.Location = new Point(0x10c, 0x24);
            this.lblSo_Ct2.Name = "lblSo_Ct2";
            this.lblSo_Ct2.Size = new Size(0x2a, 14);
            this.lblSo_Ct2.TabIndex = 0;
            this.lblSo_Ct2.Text = "Đến số";
            this.txtTen_Tk.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.txtTen_Tk.BackColor = SystemColors.Control;
            this.txtTen_Tk.BorderStyle = BorderStyle.None;
            this.txtTen_Tk.CheckTextSearched = false;
            this.txtTen_Tk.DisabledForeColor = Color.Blue;
            this.txtTen_Tk.Enabled = false;
            this.txtTen_Tk.Font = new Font("Arial", 8.25f);
            this.txtTen_Tk.ForeColor = Color.Blue;
            this.txtTen_Tk.Location = new Point(0xd6, 0x39);
            this.txtTen_Tk.Name = "txtTen_Tk";
            this.txtTen_Tk.OldValue = null;
            this.txtTen_Tk.Size = new Size(0x1ca, 13);
            this.txtTen_Tk.TabIndex = 0x4f;
//            this.txtTen_Tk.Value = null;//manager.GetObject("txtTen_Tk.Value");
            this.txtTk.CharacterCasing = CharacterCasing.Upper;
            this.txtTk.CheckTextSearched = false;
            this.txtTk.DisabledForeColor = Color.Empty;
            this.txtTk.EmptyIsValid = true;
            this.txtTk.FieldDisplay = "Ten_Tk";
            this.txtTk.Font = new Font("Arial", 8.25f);
            this.txtTk.FoundIsValid = true;
            this.txtTk.Location = new Point(0x6c, 0x36);
            this.txtTk.MaxLength = 0x20;
            this.txtTk.Name = "txtTk";
            this.txtTk.OldValue = null;
            this.txtTk.Size = new Size(100, 20);
            this.txtTk.TabIndex = 4;
            this.txtTk.TableName = "DMTK";
            this.txtTk.TextDisplay = this.txtTen_Tk;
            this.txtTk.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtTk.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtTk.Value = null;//manager.GetObject("txtTk.Value");
            this.lblTk.AutoSize = true;
            this.lblTk.Font = new Font("Arial", 8.25f);
            this.lblTk.Location = new Point(12, 0x39);
            this.lblTk.Name = "lblTk";
            this.lblTk.Size = new Size(0x35, 14);
            this.lblTk.TabIndex = 0x4e;
            this.lblTk.Text = "T\x00e0i khoản";
            this.lblNo_Co.AutoSize = true;
            this.lblNo_Co.Font = new Font("Arial", 8.25f);
            this.lblNo_Co.Location = new Point(12, 0x4e);
            this.lblNo_Co.Name = "lblNo_Co";
            this.lblNo_Co.Size = new Size(0x33, 14);
            this.lblNo_Co.TabIndex = 0x4e;
            this.lblNo_Co.Text = "Ph\x00e1t sinh";
            this.gBoxFilterByUser.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
            this.gBoxFilterByUser.Controls.Add(this.rdioControl3);
            this.gBoxFilterByUser.Controls.Add(this.rdioControl2);
            this.gBoxFilterByUser.Font = new Font("Arial", 8.25f);
            this.gBoxFilterByUser.Location = new Point(15, 290);
            this.gBoxFilterByUser.Name = "gBoxFilterByUser";
            this.gBoxFilterByUser.OptionBox = true;
            this.gBoxFilterByUser.Size = new Size(0xc2, 0x43);
            this.gBoxFilterByUser.TabIndex = 0x15;
            this.gBoxFilterByUser.TabStop = false;
            this.gBoxFilterByUser.Text = "Lọc theo người sử dụng";
            this.rdioControl3.AutoSize = true;
            this.rdioControl3.Font = new Font("Arial", 8.25f);
            this.rdioControl3.Location = new Point(0x6a, 0x13);
            this.rdioControl3.Name = "rdioControl3";
            this.rdioControl3.Size = new Size(0x26, 0x12);
            this.rdioControl3.TabIndex = 1;
            this.rdioControl3.TabStop = true;
            this.rdioControl3.Text = "C\x00f3";
            this.rdioControl3.UseVisualStyleBackColor = true;
            this.rdioControl2.AutoSize = true;
            this.rdioControl2.Font = new Font("Arial", 8.25f);
            this.rdioControl2.Location = new Point(6, 0x13);
            this.rdioControl2.Name = "rdioControl2";
            this.rdioControl2.Size = new Size(0x38, 0x12);
            this.rdioControl2.TabIndex = 0;
            this.rdioControl2.TabStop = true;
            this.rdioControl2.Text = "Không";
            this.rdioControl2.UseVisualStyleBackColor = true;
            this.txtTien1.Font = new Font("Arial", 8.25f);
            this.txtTien1.Location = new Point(0x13c, 0x60);
            this.txtTien1.Name = "txtTien1";
            int[] bits = new int[4];
            this.txtTien1.NumericValue = new decimal(bits);
            this.txtTien1.OldValue = null;
            this.txtTien1.Size = new Size(100, 20);
            this.txtTien1.TabIndex = 7;
            this.txtTien1.TextAlign = HorizontalAlignment.Right;
            this.txtTien1.UserTextNumericFormat = AppInstance.TextNumericFormat.ForeignAmount;
//            this.txtTien1.Value = null;//manager.GetObject("txtTien1.Value");
            this.lblTien1.AutoSize = true;
            this.lblTien1.Font = new Font("Arial", 8.25f);
            this.lblTien1.Location = new Point(220, 0x63);
            this.lblTien1.Name = "lblTien1";
            this.lblTien1.Size = new Size(0x44, 14);
            this.lblTien1.TabIndex = 0x4e;
            this.lblTien1.Text = "Số tiền từ số";
            this.txtTien2.Font = new Font("Arial", 8.25f);
            this.txtTien2.Location = new Point(0x23c, 0x60);
            this.txtTien2.Name = "txtTien2";
            int[] numArray2 = new int[4];
            this.txtTien2.NumericValue = new decimal(numArray2);
            this.txtTien2.OldValue = null;
            this.txtTien2.Size = new Size(100, 20);
            this.txtTien2.TabIndex = 8;
            this.txtTien2.TextAlign = HorizontalAlignment.Right;
            this.txtTien2.UserTextNumericFormat = AppInstance.TextNumericFormat.ForeignAmount;
//            this.txtTien2.Value = null;//manager.GetObject("txtTien2.Value");
            this.lblTien2.AutoSize = true;
            this.lblTien2.Font = new Font("Arial", 8.25f);
            this.lblTien2.Location = new Point(0x20c, 0x63);
            this.lblTien2.Name = "lblTien2";
            this.lblTien2.Size = new Size(0x2a, 14);
            this.lblTien2.TabIndex = 0;
            this.lblTien2.Text = "Đến số";
            this.txtNo_Co.CharacterCasing = CharacterCasing.Upper;
            this.txtNo_Co.CheckTextSearched = false;
            this.txtNo_Co.DisabledForeColor = Color.Blue;
            this.txtNo_Co.Font = new Font("Arial", 8.25f);
            this.txtNo_Co.InputMask = "*,N,C";
            this.txtNo_Co.Location = new Point(0x6c, 0x4b);
            this.txtNo_Co.Name = "txtNo_Co";
            this.txtNo_Co.OldValue = null;
            this.txtNo_Co.Size = new Size(0x16, 20);
            this.txtNo_Co.TabIndex = 5;
            this.txtNo_Co.Text = "*";
            this.txtNo_Co.TextAlign = HorizontalAlignment.Center;
            this.txtNo_Co.Value = "*";
            this.txtNo_Co0.AutoSize = true;
            this.txtNo_Co0.Font = new Font("Arial", 8.25f);
            this.txtNo_Co0.ForeColor = Color.Blue;
            this.txtNo_Co0.Location = new Point(0x88, 0x4e);
            this.txtNo_Co0.Name = "txtNo_Co0";
            this.txtNo_Co0.Size = new Size(0x6a, 14);
            this.txtNo_Co0.TabIndex = 0x53;
            this.txtNo_Co0.Text = "*-Tất cả, N-Nợ, C-C\x00f3";
            this.gBoxLocked.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.gBoxLocked.Controls.Add(this.rdioControl4);
            this.gBoxLocked.Controls.Add(this.rdioControl5);
            this.gBoxLocked.Controls.Add(this.rdioControl6);
            this.gBoxLocked.Font = new Font("Arial", 8.25f);
            this.gBoxLocked.Location = new Point(0x1de, 290);
            this.gBoxLocked.Name = "gBoxLocked";
            this.gBoxLocked.OptionBox = true;
            this.gBoxLocked.Size = new Size(0xc2, 0x43);
            this.gBoxLocked.TabIndex = 0x17;
            this.gBoxLocked.TabStop = false;
            this.gBoxLocked.Text = "Khóa";
            this.rdioControl4.AutoSize = true;
            this.rdioControl4.Font = new Font("Arial", 8.25f);
            this.rdioControl4.Location = new Point(0x6a, 0x13);
            this.rdioControl4.Name = "rdioControl4";
            this.rdioControl4.Size = new Size(40, 0x12);
            this.rdioControl4.TabIndex = 2;
            this.rdioControl4.TabStop = true;
            this.rdioControl4.Text = "Mở";
            this.rdioControl4.UseVisualStyleBackColor = true;
            this.rdioControl5.AutoSize = true;
            this.rdioControl5.Font = new Font("Arial", 8.25f);
            this.rdioControl5.Location = new Point(6, 0x2b);
            this.rdioControl5.Name = "rdioControl5";
            this.rdioControl5.Size = new Size(50, 0x12);
            this.rdioControl5.TabIndex = 1;
            this.rdioControl5.TabStop = true;
            this.rdioControl5.Text = "Khóa";
            this.rdioControl5.UseVisualStyleBackColor = true;
            this.rdioControl6.AutoSize = true;
            this.rdioControl6.Font = new Font("Arial", 8.25f);
            this.rdioControl6.Location = new Point(6, 0x13);
            this.rdioControl6.Name = "rdioControl6";
            this.rdioControl6.Size = new Size(0x37, 0x12);
            this.rdioControl6.TabIndex = 0;
            this.rdioControl6.TabStop = true;
            this.rdioControl6.Text = "Tất cả";
            this.rdioControl6.UseVisualStyleBackColor = true;
            this.gBoxPosted.Anchor = AnchorStyles.Bottom;
            this.gBoxPosted.Controls.Add(this.rdioControl10);
            this.gBoxPosted.Controls.Add(this.rdioControl7);
            this.gBoxPosted.Controls.Add(this.rdioControl8);
            this.gBoxPosted.Controls.Add(this.rdioControl9);
            this.gBoxPosted.Font = new Font("Arial", 8.25f);
            this.gBoxPosted.Location = new Point(0xf7, 290);
            this.gBoxPosted.Name = "gBoxPosted";
            this.gBoxPosted.OptionBox = true;
            this.gBoxPosted.Size = new Size(0xc2, 0x43);
            this.gBoxPosted.TabIndex = 0x16;
            this.gBoxPosted.TabStop = false;
            this.gBoxPosted.Text = "Cập nhật";
            this.rdioControl10.AutoSize = true;
            this.rdioControl10.Font = new Font("Arial", 8.25f);
            this.rdioControl10.Location = new Point(0x6a, 0x2b);
            this.rdioControl10.Name = "rdioControl10";
            this.rdioControl10.Size = new Size(0x2c, 0x12);
            this.rdioControl10.TabIndex = 2;
            this.rdioControl10.TabStop = true;
            this.rdioControl10.Text = "Huỷ";
            this.rdioControl10.UseVisualStyleBackColor = true;
            this.rdioControl7.AutoSize = true;
            this.rdioControl7.Font = new Font("Arial", 8.25f);
            this.rdioControl7.Location = new Point(0x6a, 0x13);
            this.rdioControl7.Name = "rdioControl7";
            this.rdioControl7.Size = new Size(0x35, 0x12);
            this.rdioControl7.TabIndex = 2;
            this.rdioControl7.TabStop = true;
            this.rdioControl7.Text = "Duyệt";
            this.rdioControl7.UseVisualStyleBackColor = true;
            this.rdioControl8.AutoSize = true;
            this.rdioControl8.Font = new Font("Arial", 8.25f);
            this.rdioControl8.Location = new Point(6, 0x2b);
            this.rdioControl8.Name = "rdioControl8";
            this.rdioControl8.Size = new Size(0x37, 0x12);
            this.rdioControl8.TabIndex = 1;
            this.rdioControl8.TabStop = true;
            this.rdioControl8.Text = "Sổ cái";
            this.rdioControl8.UseVisualStyleBackColor = true;
            this.rdioControl9.AutoSize = true;
            this.rdioControl9.Font = new Font("Arial", 8.25f);
            this.rdioControl9.Location = new Point(6, 0x13);
            this.rdioControl9.Name = "rdioControl9";
            this.rdioControl9.Size = new Size(0x37, 0x12);
            this.rdioControl9.TabIndex = 0;
            this.rdioControl9.TabStop = true;
            this.rdioControl9.Text = "Tất cả";
            this.rdioControl9.UseVisualStyleBackColor = true;
            this.lblMa_Tte.AutoSize = true;
            this.lblMa_Tte.Font = new Font("Arial", 8.25f);
            this.lblMa_Tte.Location = new Point(12, 0x63);
            this.lblMa_Tte.Name = "lblMa_Tte";
            this.lblMa_Tte.Size = new Size(0x35, 14);
            this.lblMa_Tte.TabIndex = 0x4e;
            this.lblMa_Tte.Text = "Mã tiền tệ";
            this.txtMa_Tte.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Tte.CheckTextSearched = false;
            this.txtMa_Tte.DisabledForeColor = Color.Blue;
            this.txtMa_Tte.Font = new Font("Arial", 8.25f);
            this.txtMa_Tte.InputMask = "*,N,C";
            this.txtMa_Tte.Location = new Point(0x6c, 0x60);
            this.txtMa_Tte.Name = "txtMa_Tte";
            this.txtMa_Tte.OldValue = null;
            this.txtMa_Tte.Size = new Size(30, 20);
            this.txtMa_Tte.TabIndex = 6;
            this.txtMa_Tte.Text = "*";
            this.txtMa_Tte.TextAlign = HorizontalAlignment.Center;
            this.txtMa_Tte.Value = "*";
            this.lblMa_Kho.AutoSize = true;
            this.lblMa_Kho.Font = new Font("Arial", 8.25f);
            this.lblMa_Kho.Location = new Point(12, 120);
            this.lblMa_Kho.Name = "lblMa_Kho";
            this.lblMa_Kho.Size = new Size(0x35, 14);
            this.lblMa_Kho.TabIndex = 0x4e;
            this.lblMa_Kho.Text = "Kho hàng";
            this.txtMa_Kho.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Kho.CheckTextSearched = false;
            this.txtMa_Kho.DisabledForeColor = Color.Empty;
            this.txtMa_Kho.EmptyIsValid = true;
            this.txtMa_Kho.FieldDisplay = "Ten_Kho";
            this.txtMa_Kho.Font = new Font("Arial", 8.25f);
            this.txtMa_Kho.FoundIsValid = true;
            this.txtMa_Kho.Location = new Point(0x6c, 0x75);
            this.txtMa_Kho.MaxLength = 0x20;
            this.txtMa_Kho.Name = "txtMa_Kho";
            this.txtMa_Kho.OldValue = null;
            this.txtMa_Kho.Size = new Size(100, 20);
            this.txtMa_Kho.TabIndex = 10;
            this.txtMa_Kho.TableName = "DMKHO";
            this.txtMa_Kho.TextDisplay = this.txtTen_Kho;
            this.txtMa_Kho.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Kho.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Kho.Value = null;//manager.GetObject("txtMa_Kho.Value");
            this.txtTen_Kho.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.txtTen_Kho.BackColor = SystemColors.Control;
            this.txtTen_Kho.BorderStyle = BorderStyle.None;
            this.txtTen_Kho.CheckTextSearched = false;
            this.txtTen_Kho.DisabledForeColor = Color.Blue;
            this.txtTen_Kho.Enabled = false;
            this.txtTen_Kho.Font = new Font("Arial", 8.25f);
            this.txtTen_Kho.ForeColor = Color.Blue;
            this.txtTen_Kho.Location = new Point(0xd6, 0x79);
            this.txtTen_Kho.Name = "txtTen_Kho";
            this.txtTen_Kho.OldValue = null;
            this.txtTen_Kho.Size = new Size(0x1ca, 13);
            this.txtTen_Kho.TabIndex = 0x4f;
//            this.txtTen_Kho.Value = null;//manager.GetObject("txtTen_Kho.Value");
            this.lblMa_Bp.AutoSize = true;
            this.lblMa_Bp.Font = new Font("Arial", 8.25f);
            this.lblMa_Bp.Location = new Point(12, 0x8d);
            this.lblMa_Bp.Name = "lblMa_Bp";
            this.lblMa_Bp.Size = new Size(0x2f, 14);
            this.lblMa_Bp.TabIndex = 0x4e;
            this.lblMa_Bp.Text = "Bộ phận";
            this.txtMa_Bp.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Bp.CheckTextSearched = false;
            this.txtMa_Bp.DisabledForeColor = Color.Empty;
            this.txtMa_Bp.EmptyIsValid = true;
            this.txtMa_Bp.FieldDisplay = "Ten_Bp";
            this.txtMa_Bp.Font = new Font("Arial", 8.25f);
            this.txtMa_Bp.FoundIsValid = true;
            this.txtMa_Bp.Location = new Point(0x6c, 0x8a);
            this.txtMa_Bp.MaxLength = 0x20;
            this.txtMa_Bp.Name = "txtMa_Bp";
            this.txtMa_Bp.OldValue = null;
            this.txtMa_Bp.Size = new Size(100, 20);
            this.txtMa_Bp.TabIndex = 11;
            this.txtMa_Bp.TableName = "DMBP";
            this.txtMa_Bp.TextDisplay = this.txtTen_Bp;
            this.txtMa_Bp.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Bp.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Bp.Value = null;//manager.GetObject("txtMa_Bp.Value");
            this.txtTen_Bp.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.txtTen_Bp.BackColor = SystemColors.Control;
            this.txtTen_Bp.BorderStyle = BorderStyle.None;
            this.txtTen_Bp.CheckTextSearched = false;
            this.txtTen_Bp.DisabledForeColor = Color.Blue;
            this.txtTen_Bp.Enabled = false;
            this.txtTen_Bp.Font = new Font("Arial", 8.25f);
            this.txtTen_Bp.ForeColor = Color.Blue;
            this.txtTen_Bp.Location = new Point(0xd6, 0x8e);
            this.txtTen_Bp.Name = "txtTen_Bp";
            this.txtTen_Bp.OldValue = null;
            this.txtTen_Bp.Size = new Size(0x1ca, 13);
            this.txtTen_Bp.TabIndex = 0x4f;
//            this.txtTen_Bp.Value = null;//manager.GetObject("txtTen_Bp.Value");
            this.lblMa_Hd.AutoSize = true;
            this.lblMa_Hd.Font = new Font("Arial", 8.25f);
            this.lblMa_Hd.Location = new Point(12, 0xa2);
            this.lblMa_Hd.Name = "lblMa_Hd";
            this.lblMa_Hd.Size = new Size(0x36, 14);
            this.lblMa_Hd.TabIndex = 0x4e;
            this.lblMa_Hd.Text = "Hợp đồng";
            this.txtMa_Hd.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Hd.CheckTextSearched = false;
            this.txtMa_Hd.DisabledForeColor = Color.Empty;
            this.txtMa_Hd.EmptyIsValid = true;
            this.txtMa_Hd.FieldDisplay = "Ten_Hd";
            this.txtMa_Hd.Font = new Font("Arial", 8.25f);
            this.txtMa_Hd.FoundIsValid = true;
            this.txtMa_Hd.Location = new Point(0x6c, 0x9f);
            this.txtMa_Hd.MaxLength = 0x20;
            this.txtMa_Hd.Name = "txtMa_Hd";
            this.txtMa_Hd.OldValue = null;
            this.txtMa_Hd.Size = new Size(100, 20);
            this.txtMa_Hd.TabIndex = 12;
            this.txtMa_Hd.TableName = "DMHD";
            this.txtMa_Hd.TextDisplay = this.txtTen_Hd;
            this.txtMa_Hd.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Hd.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Hd.Value = null;//manager.GetObject("txtMa_Hd.Value");
            this.txtTen_Hd.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.txtTen_Hd.BackColor = SystemColors.Control;
            this.txtTen_Hd.BorderStyle = BorderStyle.None;
            this.txtTen_Hd.CheckTextSearched = false;
            this.txtTen_Hd.DisabledForeColor = Color.Blue;
            this.txtTen_Hd.Enabled = false;
            this.txtTen_Hd.Font = new Font("Arial", 8.25f);
            this.txtTen_Hd.ForeColor = Color.Blue;
            this.txtTen_Hd.Location = new Point(0xd6, 0xa3);
            this.txtTen_Hd.Name = "txtTen_Hd";
            this.txtTen_Hd.OldValue = null;
            this.txtTen_Hd.Size = new Size(0x1ca, 13);
            this.txtTen_Hd.TabIndex = 0x4f;
//            this.txtTen_Hd.Value = null;//manager.GetObject("txtTen_Hd.Value");
            this.lblMa_Dt.AutoSize = true;
            this.lblMa_Dt.Font = new Font("Arial", 8.25f);
            this.lblMa_Dt.Location = new Point(12, 0xb7);
            this.lblMa_Dt.Name = "lblMa_Dt";
            this.lblMa_Dt.Size = new Size(0x37, 14);
            this.lblMa_Dt.TabIndex = 0x4e;
            this.lblMa_Dt.Text = "Đối tượng";
            this.txtMa_Dt.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Dt.CheckTextSearched = false;
            this.txtMa_Dt.DisabledForeColor = Color.Empty;
            this.txtMa_Dt.EmptyIsValid = true;
            this.txtMa_Dt.FieldDisplay = "Ten_Dt";
            this.txtMa_Dt.Font = new Font("Arial", 8.25f);
            this.txtMa_Dt.FoundIsValid = true;
            this.txtMa_Dt.Location = new Point(0x6c, 180);
            this.txtMa_Dt.MaxLength = 0x20;
            this.txtMa_Dt.Name = "txtMa_Dt";
            this.txtMa_Dt.OldValue = null;
            this.txtMa_Dt.Size = new Size(100, 20);
            this.txtMa_Dt.TabIndex = 13;
            this.txtMa_Dt.TableName = "DMDT";
            this.txtMa_Dt.TextDisplay = this.txtTen_Dt;
            this.txtMa_Dt.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Dt.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Dt.Value = null;//manager.GetObject("txtMa_Dt.Value");
            this.txtTen_Dt.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.txtTen_Dt.BackColor = SystemColors.Control;
            this.txtTen_Dt.BorderStyle = BorderStyle.None;
            this.txtTen_Dt.CheckTextSearched = false;
            this.txtTen_Dt.DisabledForeColor = Color.Blue;
            this.txtTen_Dt.Enabled = false;
            this.txtTen_Dt.Font = new Font("Arial", 8.25f);
            this.txtTen_Dt.ForeColor = Color.Blue;
            this.txtTen_Dt.Location = new Point(0xd6, 0xb8);
            this.txtTen_Dt.Name = "txtTen_Dt";
            this.txtTen_Dt.OldValue = null;
            this.txtTen_Dt.Size = new Size(0x1ca, 13);
            this.txtTen_Dt.TabIndex = 0x4f;
//            this.txtTen_Dt.Value = null;//manager.GetObject("txtTen_Dt.Value");
            this.lblMa_Vt.AutoSize = true;
            this.lblMa_Vt.Font = new Font("Arial", 8.25f);
            this.lblMa_Vt.Location = new Point(12, 0xcc);
            this.lblMa_Vt.Name = "lblMa_Vt";
            this.lblMa_Vt.Size = new Size(0x58, 14);
            this.lblMa_Vt.TabIndex = 0x4e;
            this.lblMa_Vt.Text = "Vật tư, hàng hóa";
            this.txtMa_Vt.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Vt.CheckTextSearched = false;
            this.txtMa_Vt.DisabledForeColor = Color.Empty;
            this.txtMa_Vt.EmptyIsValid = true;
            this.txtMa_Vt.FieldDisplay = "Ten_Vt";
            this.txtMa_Vt.Font = new Font("Arial", 8.25f);
            this.txtMa_Vt.FoundIsValid = true;
            this.txtMa_Vt.Location = new Point(0x6c, 0xc9);
            this.txtMa_Vt.MaxLength = 0x20;
            this.txtMa_Vt.Name = "txtMa_Vt";
            this.txtMa_Vt.OldValue = null;
            this.txtMa_Vt.Size = new Size(100, 20);
            this.txtMa_Vt.TabIndex = 14;
            this.txtMa_Vt.TableName = "DMVT";
            this.txtMa_Vt.TextDisplay = this.txtTen_Vt;
            this.txtMa_Vt.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Vt.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Vt.Value = null;//manager.GetObject("txtMa_Vt.Value");
            this.txtTen_Vt.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.txtTen_Vt.BackColor = SystemColors.Control;
            this.txtTen_Vt.BorderStyle = BorderStyle.None;
            this.txtTen_Vt.CheckTextSearched = false;
            this.txtTen_Vt.DisabledForeColor = Color.Blue;
            this.txtTen_Vt.Enabled = false;
            this.txtTen_Vt.Font = new Font("Arial", 8.25f);
            this.txtTen_Vt.ForeColor = Color.Blue;
            this.txtTen_Vt.Location = new Point(0xd6, 0xcd);
            this.txtTen_Vt.Name = "txtTen_Vt";
            this.txtTen_Vt.OldValue = null;
            this.txtTen_Vt.Size = new Size(0x1ca, 13);
            this.txtTen_Vt.TabIndex = 0x4f;
//            this.txtTen_Vt.Value = null;//manager.GetObject("txtTen_Vt.Value");
            this.lblDien_Giai.AutoSize = true;
            this.lblDien_Giai.Font = new Font("Arial", 8.25f);
            this.lblDien_Giai.Location = new Point(12, 0xe1);
            this.lblDien_Giai.Name = "lblDien_Giai";
            this.lblDien_Giai.Size = new Size(0x4c, 14);
            this.lblDien_Giai.TabIndex = 0;
            this.lblDien_Giai.Text = "Diễn giải chính";
            this.txtDien_Giai.CheckTextSearched = false;
            this.txtDien_Giai.DisabledForeColor = Color.Blue;
            this.txtDien_Giai.Font = new Font("Arial", 8.25f);
            this.txtDien_Giai.Location = new Point(0x6c, 0xde);
            this.txtDien_Giai.MaxLength = 0xfe;
            this.txtDien_Giai.Name = "txtDien_Giai";
            this.txtDien_Giai.OldValue = null;
            this.txtDien_Giai.Size = new Size(0x234, 20);
            this.txtDien_Giai.TabIndex = 15;
            this.txtDien_Giai.UserTextLength = AppInstance.TextControlLength.InvoiceDescription;
//            this.txtDien_Giai.Value = null;//manager.GetObject("txtDien_Giai.Value");
            this.lblNotes.AutoSize = true;
            this.lblNotes.Font = new Font("Arial", 8.25f);
            this.lblNotes.Location = new Point(12, 0xf6);
            this.lblNotes.Name = "lblNotes";
            this.lblNotes.Size = new Size(0x2c, 14);
            this.lblNotes.TabIndex = 0;
            this.lblNotes.Text = "Ghi ch\x00fa";
            this.txtNotes.CheckTextSearched = false;
            this.txtNotes.DisabledForeColor = Color.Blue;
            this.txtNotes.Font = new Font("Arial", 8.25f);
            this.txtNotes.Location = new Point(0x6c, 0xf3);
            this.txtNotes.MaxLength = 0xfe;
            this.txtNotes.Name = "txtNotes";
            this.txtNotes.OldValue = null;
            this.txtNotes.Size = new Size(0x234, 20);
            this.txtNotes.TabIndex = 0x11;
//            this.txtNotes.Value = null;//manager.GetObject("txtNotes.Value");
            this.lblPhan_Loai.AutoSize = true;
            this.lblPhan_Loai.Font = new Font("Arial", 8.25f);
            this.lblPhan_Loai.Location = new Point(12, 0x10b);
            this.lblPhan_Loai.Name = "lblPhan_Loai";
            this.lblPhan_Loai.Size = new Size(50, 14);
            this.lblPhan_Loai.TabIndex = 0x4e;
            this.lblPhan_Loai.Text = "Phân loại";
            this.txtMa_Loai1.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Loai1.CheckTextSearched = false;
            this.txtMa_Loai1.DisabledForeColor = Color.Empty;
            this.txtMa_Loai1.EmptyIsValid = true;
            this.txtMa_Loai1.FirstFilter = "Type = 'CT1'";
            this.txtMa_Loai1.Font = new Font("Arial", 8.25f);
            this.txtMa_Loai1.FoundIsValid = true;
            this.txtMa_Loai1.Location = new Point(0x6c, 0x108);
            this.txtMa_Loai1.MaxLength = 0x20;
            this.txtMa_Loai1.Name = "txtMa_Loai1";
            this.txtMa_Loai1.OldValue = null;
            this.txtMa_Loai1.Size = new Size(0xbb, 20);
            this.txtMa_Loai1.TabIndex = 0x12;
            this.txtMa_Loai1.TableName = "DMLOAI";
            this.txtMa_Loai1.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Loai1.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Loai1.Value = null;//manager.GetObject("txtMa_Loai1.Value");
            this.txtMa_Loai2.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Loai2.CheckTextSearched = false;
            this.txtMa_Loai2.DisabledForeColor = Color.Empty;
            this.txtMa_Loai2.EmptyIsValid = true;
            this.txtMa_Loai2.FirstFilter = "Type = 'CT2'";
            this.txtMa_Loai2.Font = new Font("Arial", 8.25f);
            this.txtMa_Loai2.FoundIsValid = true;
            this.txtMa_Loai2.Location = new Point(0x128, 0x108);
            this.txtMa_Loai2.MaxLength = 0x20;
            this.txtMa_Loai2.Name = "txtMa_Loai2";
            this.txtMa_Loai2.OldValue = null;
            this.txtMa_Loai2.Size = new Size(0xbc, 20);
            this.txtMa_Loai2.TabIndex = 0x13;
            this.txtMa_Loai2.TableName = "DMLOAI";
            this.txtMa_Loai2.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Loai2.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Loai2.Value = null;//manager.GetObject("txtMa_Loai2.Value");
            this.txtMa_Loai3.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Loai3.CheckTextSearched = false;
            this.txtMa_Loai3.DisabledForeColor = Color.Empty;
            this.txtMa_Loai3.EmptyIsValid = true;
            this.txtMa_Loai3.FirstFilter = "Type = 'CT3'";
            this.txtMa_Loai3.Font = new Font("Arial", 8.25f);
            this.txtMa_Loai3.FoundIsValid = true;
            this.txtMa_Loai3.Location = new Point(0x1e5, 0x108);
            this.txtMa_Loai3.MaxLength = 0x20;
            this.txtMa_Loai3.Name = "txtMa_Loai3";
            this.txtMa_Loai3.OldValue = null;
            this.txtMa_Loai3.Size = new Size(0xbb, 20);
            this.txtMa_Loai3.TabIndex = 20;
            this.txtMa_Loai3.TableName = "DMLOAI";
            this.txtMa_Loai3.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Loai3.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Loai3.Value = null;//manager.GetObject("txtMa_Loai3.Value");
            this.btnOk.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnOk.Font = new Font("Arial", 8.25f);
            this.btnOk.Location = new Point(0x1de, 0x16f);
            this.btnOk.Name = "btnOk";
            this.btnOk.Size = new Size(0x5e, 0x17);
            this.btnOk.TabIndex = 0x18;
            this.btnOk.Text = "&Chấp nhận";
            this.btnOk.UseVisualStyleBackColor = true;
            this.btnOk.Click += new EventHandler(this.btnOk_Click);
            this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            //this.btnCancel.DialogResult = DialogResult.Cancel;
            this.btnCancel.Font = new Font("Arial", 8.25f);
            this.btnCancel.Location = new Point(0x242, 0x16f);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new Size(0x5e, 0x17);
            this.btnCancel.TabIndex = 0x19;
            this.btnCancel.Text = "&Huỷ bỏ";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.CancelButton = this.btnCancel;
            base.ClientSize = new Size(0x2ac, 0x192);
            base.Controls.Add(this.btnCancel);
            base.Controls.Add(this.btnOk);
            base.Controls.Add(this.txtNo_Co0);
            base.Controls.Add(this.txtMa_Tte);
            base.Controls.Add(this.txtNo_Co);
            base.Controls.Add(this.txtTien2);
            base.Controls.Add(this.txtTien1);
            base.Controls.Add(this.txtTen_Vt);
            base.Controls.Add(this.txtTen_Dt);
            base.Controls.Add(this.txtTen_Hd);
            base.Controls.Add(this.txtTen_Bp);
            base.Controls.Add(this.txtTen_Kho);
            base.Controls.Add(this.txtTen_Tk);
            base.Controls.Add(this.txtMa_Vt);
            base.Controls.Add(this.txtMa_Dt);
            base.Controls.Add(this.txtMa_Hd);
            base.Controls.Add(this.txtMa_Bp);
            base.Controls.Add(this.lblMa_Vt);
            base.Controls.Add(this.txtMa_Kho);
            base.Controls.Add(this.lblMa_Dt);
            base.Controls.Add(this.txtMa_Loai3);
            base.Controls.Add(this.txtMa_Loai2);
            base.Controls.Add(this.txtMa_Loai1);
            base.Controls.Add(this.lblMa_Hd);
            base.Controls.Add(this.txtTk);
            base.Controls.Add(this.lblMa_Bp);
            base.Controls.Add(this.lblTien1);
            base.Controls.Add(this.lblMa_Kho);
            base.Controls.Add(this.lblPhan_Loai);
            base.Controls.Add(this.lblMa_Tte);
            base.Controls.Add(this.lblNo_Co);
            base.Controls.Add(this.lblTk);
            base.Controls.Add(this.txtSo_Ct2);
            base.Controls.Add(this.txtNotes);
            base.Controls.Add(this.txtDien_Giai);
            base.Controls.Add(this.txtSo_Ct1);
            base.Controls.Add(this.txtNgay_Ct2);
            base.Controls.Add(this.lblTien2);
            base.Controls.Add(this.lblNotes);
            base.Controls.Add(this.lblSo_Ct2);
            base.Controls.Add(this.lblNgay_Ct2);
            base.Controls.Add(this.lblDien_Giai);
            base.Controls.Add(this.txtNgay_Ct1);
            base.Controls.Add(this.lblSo_Ct1);
            base.Controls.Add(this.lblNgay_Ct1);
            base.Controls.Add(this.gBoxLocked);
            base.Controls.Add(this.gBoxPosted);
            base.Controls.Add(this.gBoxFilterByUser);
            //base.FormBorderStyle = FormBorderStyle.FixedSingle;
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "FormCTNBFilter";
            this.Text = "Điều kiện lọc";
            this.gBoxFilterByUser.ResumeLayout(false);
            this.gBoxFilterByUser.PerformLayout();
            this.gBoxLocked.ResumeLayout(false);
            this.gBoxLocked.PerformLayout();
            this.gBoxPosted.ResumeLayout(false);
            this.gBoxPosted.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        private void OnAccpeted()
        {
            this.CheckAccepted = true;
            base.Close();
        }

        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            if (keyData == (Keys.Control | Keys.Return))
            {
                this.OnAccpeted();
                return true;
            }
            return base.ProcessCmdKey(ref msg, keyData);
        }

        public bool CheckAccepted
        {
            get
            {
                return this.ib_CheckAccepted;
            }
            set
            {
                this.ib_CheckAccepted = value;
            }
        }

        public object Dien_Giai
        {
            get
            {
                return this.txtDien_Giai.Value;
            }
            set
            {
                this.txtDien_Giai.Value = value;
            }
        }

        public int FilterByUser
        {
            get
            {
                return this.gBoxFilterByUser.Value;
            }
            set
            {
                this.gBoxFilterByUser.Value = value;
            }
        }

        public object Ghi_Chu
        {
            get
            {
                return this.txtNotes.Value;
            }
            set
            {
                this.txtNotes.Value = value;
            }
        }

        public int Locked
        {
            get
            {
                return this.gBoxLocked.Value;
            }
            set
            {
                this.gBoxLocked.Value = value;
            }
        }

        public object Ma_Bp
        {
            get
            {
                return this.txtMa_Bp.Value;
            }
            set
            {
                this.txtMa_Bp.Value = value;
            }
        }

        public object Ma_Dt
        {
            get
            {
                return this.txtMa_Dt.Value;
            }
            set
            {
                this.txtMa_Dt.Value = value;
            }
        }

        public object Ma_Hd
        {
            get
            {
                return this.txtMa_Hd.Value;
            }
            set
            {
                this.txtMa_Hd.Value = value;
            }
        }

        public object Ma_Kho
        {
            get
            {
                return this.txtMa_Kho.Value;
            }
            set
            {
                this.txtMa_Kho.Value = value;
            }
        }

        public object Ma_Loai1
        {
            get
            {
                return this.txtMa_Loai1.Value;
            }
            set
            {
                this.txtMa_Loai1.Value = value;
            }
        }

        public object Ma_Loai2
        {
            get
            {
                return this.txtMa_Loai2.Value;
            }
            set
            {
                this.txtMa_Loai2.Value = value;
            }
        }

        public object Ma_Loai3
        {
            get
            {
                return this.txtMa_Loai3.Value;
            }
            set
            {
                this.txtMa_Loai3.Value = value;
            }
        }

        public object Ma_Tte
        {
            get
            {
                return this.txtMa_Tte.Value;
            }
            set
            {
                this.txtMa_Tte.Value = value;
            }
        }

        public object Ma_Vt
        {
            get
            {
                return this.txtMa_Vt.Value;
            }
            set
            {
                this.txtMa_Vt.Value = value;
            }
        }

        public object Ngay_Ct1
        {
            get
            {
                if (this.txtNgay_Ct1.Value != SDBNull.Value)
                {
                    AppInstance.StartWorkingDate = (DateTime) this.txtNgay_Ct1.Value;
                    return AppInstance.StartWorkingDate;
                }
                return SDBNull.Value;
            }
            set
            {
                if ((value == SDBNull.Value) || (value == null))
                {
                    value = AppInstance.StartWorkingDate;
                }
                this.txtNgay_Ct1.Value = value;
            }
        }

        public object Ngay_Ct2
        {
            get
            {
                if (this.txtNgay_Ct2.Value != SDBNull.Value)
                {
                    AppInstance.EndWorkingDate = (DateTime) this.txtNgay_Ct2.Value;
                    return AppInstance.EndWorkingDate;
                }
                return SDBNull.Value;
            }
            set
            {
                if ((value == SDBNull.Value) || (value == null))
                {
                    value = AppInstance.EndWorkingDate;
                }
                this.txtNgay_Ct2.Value = value;
            }
        }

        public object No_Co
        {
            get
            {
                return this.txtNo_Co.Value;
            }
            set
            {
                this.txtNo_Co.Value = value;
            }
        }

        public int Posted
        {
            get
            {
                return this.gBoxPosted.Value;
            }
            set
            {
                this.gBoxPosted.Value = value;
            }
        }

        public object So_Ct1
        {
            get
            {
                return this.txtSo_Ct1.Value;
            }
            set
            {
                this.txtSo_Ct1.Value = value;
            }
        }

        public object So_Ct2
        {
            get
            {
                return this.txtSo_Ct2.Value;
            }
            set
            {
                this.txtSo_Ct2.Value = value;
            }
        }

        public object Tien1
        {
            get
            {
                return this.txtTien1.Value;
            }
            set
            {
                this.txtTien1.Value = value;
            }
        }

        public object Tien2
        {
            get
            {
                return this.txtTien2.Value;
            }
            set
            {
                this.txtTien2.Value = value;
            }
        }

        public object Tk
        {
            get
            {
                return this.txtTk.Value;
            }
            set
            {
                this.txtTk.Value = value;
            }
        }
    }
}

